<template>
  <div id="app">
    <!-- <h1>app</h1> -->
    <!-- <Parent></Parent> -->
    <!-- <showModal></showModal> -->
    <!-- <mixCom></mixCom> -->
    <!-- <tabs></tabs> -->
    <!-- <keepAliveCom></keepAliveCom> -->

    <router-link to="/discover">发现</router-link>
    |
    <router-link to="/friend">好室友</router-link>
    |
    <router-link to="/mine">我的</router-link>
    |
    <router-link to="/list">商品列表</router-link>
    <!-- <router-link to="/detail">详情列表</router-link> -->
    <button @click="jump">朴实有花的按钮</button>

    <router-view></router-view>
  </div>
</template>
<script>
// import Parent from './Parent.vue';
// import showModal from "./components/showModal"
// import mixCom from "./components/mixCom"
// import tabs from "@/components/tabs"
// import keepAliveCom from "@/components/keepAliveCom"
export default {
  // components:{
  //   Parent,
  //   showModal,
  //   mixCom,
  //   tabs,
  //   keepAliveCom,
  // }
  data() {
    return {
      msg: "app组件",
    };
  },
  methods:{
    jump(){
      this.$router.push({path:"/main"})
    }
  }
};
</script>
